package com.dunqi.gpm.shunqing.home.activity;

import android.content.Intent;
import android.os.Bundle;

import com.dunqi.gpm.shunqing.R;
import com.dunqi.gpm.shunqing.common.base.BaseAct;
import com.dunqi.gpm.shunqing.home.fragment.ReportAuditFragment;

public class ReportAuditActivity extends BaseAct {

    private ReportAuditFragment fragment;

    @Override
    protected void refreshData(Bundle savedInstanceState) {

    }

    @Override
    protected void initUiAndListener() {
        fragment = ReportAuditFragment.newInstance();
        getSupportFragmentManager().beginTransaction()
                .add(R.id.container, fragment)
                .commit();
    }


    @Override
    protected int getLayoutId() {
        return R.layout.activity_report_audit;
    }


    @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        super.onActivityResult(requestCode, resultCode, data);
        fragment.onActivityResult(requestCode, resultCode, data);
    }
}
